<%@ page language="java" import="java.util.*, java.text.*" pageEncoding="utf-8"%>

<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" >

<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link type="text/css" rel="stylesheet" href="css/index.css" />

<title>测试文档</title>
 <style type="text/css">
 <!--
 
.STYLE1 {
	font-family: "新宋体";
	color: #660033;
}
.STYLE2{
	font-family: "新宋体";
	color: #660033;
	font-size: 16px;
}
.STYLE4{
	font-family: "黑体";
	color: #003300;
	font-size: 14px;
	font-weight: bold;
}
#showTime {
	position:absolute;
	top: 126px;
	
}
#copywrit {
	position:absolute;
	left:190px;
	top:860px;
	width:1004px;
	height:33px;
	font-family: "宋体";
	color: #660000;
	font-size: 18px;
	}
#lefta {
	position:absolute;
	top: 170px;
	left:190px;
}
#leftdown{
	position:absolute;
	top: 570px;
	left:190px;
	
}
#leftdown marquee{text-align:center;}
#aaa{
	top: 400px;
	left:220px;
}
    -->
 </style>
</head>

<body>

<div class="container">
   <div class="top">
   		
   		<div id="showTime">
<form name="formsearch" method="post" action=" SearchServlet" >
  <table width="1003"  class="STYLE2">
    <tr>
      <td width="247">欢迎&nbsp;<%=session.getAttribute("name") %>&nbsp;进入系统</td>
      <td width="134"><% 	SimpleDateFormat format = new SimpleDateFormat("yyyy年MM月dd日");
									out.println(format.format(new Date()));
								%>
      </td>
      <td width="99">题目类型：</td>
      <td width="149">
        <select name="select" class="STYLE1" style="width:140">
        <option value="a" selected></option>
          <option value="b">C++系统</option>
          <option value="c">java系统</option>
        </select>
     </td>
      <td width="100" >教师姓名:</td>
      <td width="116">
        <input name="textfield" type="text" maxlength="20"  />
      </td>
      <td width="126" align="center">
	  	<input type="image" src="images/sou.gif"   />
	  </td>
    </tr>
  </table>
  </form>
</div>

   </div>
  <div class="down">
      <div class="left">
	  		<div id="lefta">
<form name="formforward" method="post" action="CheckServlet">
<input  type="hidden" id="jsmessagea" name="messagea"   />
  <table width="160" height="379" border="5" cellspacing="2" bordercolor="#660000" >
    <tr>
      <td>
        <div align="center">
       <input name="Submit1" type="button" class="STYLE1" value="  注意事项  " onClick="checkaForm('right_advise.jsp');"  />
        </div>
      </td>
    </tr>
    <tr>
      <td>
	  <div align="center">
        <input name="Submit2" type="button" class="STYLE1" value="更改个人信息" onClick="checkaForm('changeinformation');"  />
      	</div>
	 </td>
    </tr>
    <tr>
      <td>
        <div align="center">
          <input name="Submit5" type="button" class="STYLE1" value="毕业题目录入"onclick="checkaForm('insertsubject');"  />
        </div>
      </td>
    </tr>
    <tr>
      <td>
        <div align="center">
          <input name="Submit6" type="button" class="STYLE1" value="查看指导学生"onclick="checkaForm('ownstudent');"  />
        </div>
      </td>
    </tr>
    <tr>
      <td>
        <div align="center">
          <input name="Submit7" type="button" class="STYLE1" value="选择设计题目"onclick="checkaForm('seeksubject');"  />
        </div>
      </td>
    </tr>
    <tr>
      <td>
        <div align="center">
          <input name="Submit9" type="button" class="STYLE1" value="查看指导教师"onclick="checkaForm('seekteacher');"  />
        </div>
     </td>
    </tr>
    <tr>
      <td>
        <div align="center">
          <input name="Submit10" type="button" class="STYLE1" value="  教师管理  "onclick="checkaForm('teachermange');"  />
        </div>
      </td>
    </tr>
    <tr>
      <td>
        <div align="center">
          <input name="Submit11" type="button" class="STYLE1" value="  学生管理  " onClick="checkaForm('studentmange');"  />
        </div>
      </td>
    </tr>
    <tr>
      <td >
        <div align="center">
          <input name="Submit8" type="button" class="STYLE1" value="  重新登录  " onClick="checkaForm('relog');"  />
        </div>
      </td>
    </tr>
    <tr>
      <td>
        <div align="center">
          <input name="Submit8" type="submit" class="STYLE1" value="  注销账号  " onclick="closewindow()"  />
        </div>
      </td>
    </tr>
  </table>
  </form>
</div>

	  <div class="right">
	  
	     <div class="content">
				<div class="aaa" align="center">
					<p class="STYLE4"  style="font-size:30px" > 公告显示</p>
				</div>
		 </div>
	  </div>
     
  </div>
   <div class="foot">
   		<div class="STYLE1" id="copywrit"> 
  			<div align="center">宿迁学院2022届软件工程毕业生 &nbsp; 张渝俊  王雲生  蒋子豪  马力</div>
	</div>
   </div>
</div>

</body>
<script  type="text/javascript" >
      function checkaForm(f){
      document.getElementById("jsmessagea").value=f; 
      formforward.action="CheckServlet";
      	formforward.submit();
      }
      
      function closewindow(){
      	alert('确定要注销吗？');
      	window.close();
      }
   </script>
</html>

